package cn.sdhuijin.vms.dao;

import java.util.Collection;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import cn.sdhuijin.vms.model.Person;

public interface IPersonDao extends JpaRepository<Person, Long> {
	public Page<Person> findByOrganizationIdIn(Collection<Long> orgIds,
			Pageable pageable);

	public Person findByCardNumber(Integer integer);

	public Person findByPhone(String phone);
}
